package com.yuyue.springFramework.note11.entity.custom1;

/**
 * 用户注册事件
 */
public class UserRegisterSuccessEvent extends AbstractEvent{
    //用户名
    private String name;

    //构造器
    public UserRegisterSuccessEvent(Object source, String name) {
        super(source);
        this.name = name;
    }

    //set、get方法
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
